﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Supply_Fetch.MUILayer
{
    public static class WaitTime
    {
        public static void millisecs(int ms)
        {
            //Start Delay
            DateTime timeAtStart = DateTime.Now;
            int maxWaitTime = ms;
            while (true)
            {
                if ((DateTime.Now - timeAtStart).TotalMilliseconds >= maxWaitTime)
                {
                    break;
                }
            }
        }
    }
}
